<?php
// +----------------------------------------------------------------------
// | 平台端菜单设置
// +----------------------------------------------------------------------
return [
    [
        'name' => 'ADDON_HOTEL_ROOT',
        'title' => '酒店',
        'url' => 'hotel://admin/hotel/lists',
        'parent' => '',
        'is_show' => 1,
        'is_control' => 0,
        'is_icon' => 0,
        'picture' => 'app/admin/view/public/img/menu_icon/survey.png',
        'picture_selected' => 'app/admin/view/public/img/menu_icon/survey_selected.png',
        'sort' => 6,
        'child_list' => [
            [
                'name' => 'ADDON_HOTEL_INDEX_LISTS',
                'title' => '酒店列表',
                'url' => 'hotel://admin/hotel/lists',
                'is_show' => 1,
                'is_control' => 1,
                'is_icon' => 0,
                'sort' => 1,
                'child_list' => [
                    [
                        'name' => 'ADDON_HOTEL_LISTS',
                        'title' => '酒店列表',
                        'url' => 'hotel://admin/hotel/lists',
                        'is_show' => 0,
                        'is_control' => 1,
                        'is_icon' => 0,
                        'sort' => 1,
                        'child_list' => [
                            [
                                'name' => 'ADDON_HOTEL_ADD',
                                'title' => '添加酒店',
                                'url' => 'hotel://admin/hotel/add',
                                'is_show' => 0,
                                'is_control' => 1,
                                'is_icon' => 0,
                            ],
                            [
                                'name' => 'ADDON_HOTEL_EDIT',
                                'title' => '编辑酒店',
                                'url' => 'hotel://admin/hotel/edit',
                                'is_show' => 0,
                                'is_control' => 1,
                                'is_icon' => 0,
                            ],
                            [
                                'name' => 'ADDON_HOTEL_DETAIL',
                                'title' => '酒店详情',
                                'url' => 'hotel://admin/hotel/detail',
                                'is_show' => 1,
                                'is_control' => 1,
                                'is_icon' => 0,
                            ],
                            [
                                'name' => 'ADDON_HOTEL_DASHBOARD',
                                'title' => '账户明细',
                                'url' => 'hotel://admin/hotel/dashboard',
                                'is_show' => 1,
                                'is_control' => 1,
                                'is_icon' => 0,
                            ],
                            [
                                'name' => 'ADDON_HOTEL_DELETE',
                                'title' => '酒店删除',
                                'url' => 'hotel://admin/hotel/delete',
                                'is_show' => 0,
                                'is_control' => 1,
                                'is_icon' => 0,
                            ],
                            [
                                'name' => 'ADDON_HOTEL_FROZEN',
                                'title' => '酒店关闭',
                                'url' => 'hotel://admin/hotel/frozen',
                                'is_show' => 0,
                                'is_control' => 1,
                                'is_icon' => 0,
                            ],
                            [
                                'name' => 'ADDON_HOTEL_UNFROZEN',
                                'title' => '酒店开启',
                                'url' => 'hotel://admin/hotel/unfrozen',
                                'is_show' => 0,
                                'is_control' => 1,
                                'is_icon' => 0,
                            ],
                        ]
                    ],
                ]
            ],

        ]
    ],
    [
        'name' => 'ADDON_HOTEL_WITHDRAW_LISTS_ROOT',
        'title' => '酒店转账',
        'url' => 'hotel://admin/withdraw/adminlists',
        'parent' => 'ACCOUNT_ROOT',
        'is_show' => 1,
        'is_control' => 0,
        'is_icon' => 0,
    ],



];
